package com.mehdiuz.backend.role.service;

import com.mehdiuz.backend.commons.utils.Result;
import com.mehdiuz.backend.role.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mehdiuz.backend.role.entity.vo.RouterVo;
import com.mehdiuz.backend.role.entity.vo.UserVo;

import java.util.List;
import java.util.Map;

/**
* @author 23548
* @description 针对表【sys_user(用户表)】的数据库操作Service
* @createDate 2022-10-31 19:19:06
*/
public interface UserService extends IService<User> {

    Map<String,List> getRouterTree(Long userId);

    Result login(UserVo user);

    Result logout();

}
